package cn.inst.user.service;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.inst.common.SecurityUntils;
import cn.inst.user.dao.UserMapper;
import cn.inst.user.domain.User;
@Service
public class UserServiceImp implements UserService {
	
	@Autowired
	private UserMapper userMapper;
	public User findUserByUsername(String username) {
		User user=userMapper.selectByUsername(username);
		System.out.println(user);
		return user;
	}

}
